// 要将数据导出才能访问
namespace User{
    export let hd = "后盾人"
}

namespace Member{
    export let hd = "houdunren"
}

console.log(User.hd);
console.log(Member.hd);